﻿/***
	
	# CopyRights By Pr (yslee96@naver.com / webmaster@prev.kr) 
		
	@ Author Pr (yslee96@naver.com) 
	
	@ http://prev.kr
	
***/

package kr.prev.swe {
	import flash.events.Event;
	import flash.display.Loader;
	import flash.display.NativeWindow;
	
	public class SWEPlayerEvent extends Event {
		
		public static const LOAD_START: String = "loadStart";
		/**
		
			Loader객체를 생성하고 바이트어레이에서 로드할때 이벤트
		
		**/
		
		public static const LOAD_INIT: String = "loadInit";
		/**
		
			생성된 Loader의 INIT이벤트가 발동할때의 이벤트
		
		**/
		
		public static const CLOSING: String = "closing";
		/**
		
			SWEPlayer의 nativeWindow의 CLOSING 이벤트가 발동할때의 이벤트
		
		**/
		
		private var _loader:Loader
		private var _nativeWindow:NativeWindow
		
		public function get loader():Loader {
			return _loader
		}
		public function get nativeWindow():NativeWindow {
			return _nativeWindow
		}
		
		public function SWEPlayerEvent($type:String, $loader:Loader, $nativeWindow:NativeWindow) {
			_loader = $loader
			_nativeWindow = $nativeWindow
			super( $type );
		}
		
	}
	
}
